package com.hqyj.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName MybatisPlusPaginationConfig
 * @Date 2021/11/9 8:56
 * @Author XianJiu
 * @Description TODO
 */

@Configuration
public class MybatisPlusPaginationConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}
